
load 'p000.txt';
load 'p010.txt';
load 'p020.txt';
load 'p030.txt';
load 'p040.txt';
load 'p050.txt';
load 'p060.txt';
load 'p070.txt';
load 'p080.txt';
load 'p090.txt';
load 'p100.txt';

fprintf(stdout, 'p=0, media=%g, varianza=%g, iteraciones=%d\n', mean(p000), var(p000), length(p000));
fprintf(stdout, 'p=0.1, media=%g, varianza=%g, iteraciones=%d\n', mean(p010), var(p010), length(p010));
fprintf(stdout, 'p=0.2, media=%g, varianza=%g, iteraciones=%d\n', mean(p020), var(p020), length(p020));
fprintf(stdout, 'p=0.3, media=%g, varianza=%g, iteraciones=%d\n', mean(p030), var(p030), length(p030));
fprintf(stdout, 'p=0.4, media=%g, varianza=%g, iteraciones=%d\n', mean(p040), var(p040), length(p040));
fprintf(stdout, 'p=0.5, media=%g, varianza=%g, iteraciones=%d\n', mean(p050), var(p050), length(p050));
fprintf(stdout, 'p=0.6, media=%g, varianza=%g, iteraciones=%d\n', mean(p060), var(p060), length(p060));
fprintf(stdout, 'p=0.7, media=%g, varianza=%g, iteraciones=%d\n', mean(p070), var(p070), length(p070));
fprintf(stdout, 'p=0.8, media=%g, varianza=%g, iteraciones=%d\n', mean(p080), var(p080), length(p080));
fprintf(stdout, 'p=0.9, media=%g, varianza=%g, iteraciones=%d\n', mean(p090), var(p090), length(p090));
fprintf(stdout, 'p=1, media=%g, varianza=%g, iteraciones=%d\n', mean(p100), var(p100), length(p100));
